<div id="signup-main">
  <h1>Sign Up</h1>
  <%= error_messages_for :user %>
  <% form_for :user, :url => users_path do |f| -%>
	<table class="form-fields">
		<tr>
		  <td><label for="login">Login</label></td>
		  <td><%= f.text_field :login %></td>
		</tr>

		<tr>
		  <td><label for="email">Email</label></td>
		  <td><%= f.text_field :email %></td>
		</tr>

		<tr>
		  <td><label for="password">Password</label></td>
		  <td><%= f.password_field :password %></td>
		</tr>

		<tr>
		  <td><label for="password_confirmation">Confirm Password</label></td>
		  <td><%= f.password_field :password_confirmation %></td>
		</tr>
	</table>
	<p><%= submit_tag 'Sign up' %></p>
  <% end -%>
</div>
